#include "DESVARData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator==(const DESVARData& val1,
                                        const DESVARData& val2) {
  FIELD_COMPARE(m_id)
  FIELD_COMPARE_ARR(m_LABEL, 8)
  FIELD_COMPARE(m_XINIT)
  FIELD_COMPARE(m_XLB)
  FIELD_COMPARE(m_XUB)
  FIELD_COMPARE(m_DELX)
  FIELD_COMPARE(m_DVID)
  FIELD_COMPARE(m_domainId)
  return true;
}